package com.hm.hsw1;

public class Test {
    public static void main(String[] args) {
         Student stu = new Student();
        try {
           stu.setAge(55);
           stu.setSex('c');
        } catch (AgeException e) {
            e.printStackTrace();
        }catch(SexException e){
            e.printStackTrace();
        }
    }
}
